SftTree/NET 2.0

PreviousMainCell Property, CellClass Class

Softel vdm, Inc.

Returns the next main cell preceding the current cell.

Syntax      CellClass Class (Softelvdm.SftTreeNET)

VB   

Public ReadOnly Property PreviousMainCell As CellClass
Public ReadOnly Overridable Property PreviousMainCell As CellBaseClass

C#   

public CellClass PreviousMainCell { get; }
public virtual CellBaseClass PreviousMainCell { get; }

C++   

public: property CellClass^ PreviousMainCell {
        CellClass^ get();
}
public: property virtual CellBaseClass^ PreviousMainCell {
        CellBaseClass^ get();
}

Property Value

The next main cell or null/Nothing if no more cells are present.

Comments

The PreviousMainCell property returns the next main cell preceding the current cell.

Main cells can consist of many subordinate cells. In order to navigate from one main cell to another, the PreviousMainCell property can be used.

ColumnClass.PreviousDisplayed can be used to navigate from one cell to the previous cell. This moves from one cell to the next without taking cell merging into account. PreviousMainCell will skip cells that are merged and locates the next main cell.

PreviousMainCell will not wrap around when the cell is in the first column.

NextMainCell returns the next main cell to the right, UpperMainCell and LowerMainCell locate the upper and lower cell respectively.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com